package com.ruoyi.web.mapper;


import com.ruoyi.web.domain.ExecutionRecordDetails;

import java.util.List;

/**
 * detailsMapper接口
 * 
 * @author drx
 * @date 2023-10-19
 */
public interface ExecutionRecordDetailsMapper 
{
    /**
     * 查询details
     * 
     * @param id details主键
     * @return details
     */
    public ExecutionRecordDetails selectExecutionRecordDetailsById(Long id);

    /**
     * 查询details列表
     * 
     * @param executionRecordDetails details
     * @return details集合
     */
    public List<ExecutionRecordDetails> selectExecutionRecordDetailsList(ExecutionRecordDetails executionRecordDetails);

    /**
     * 新增details
     * 
     * @param executionRecordDetails details
     * @return 结果
     */
    public int insertExecutionRecordDetails(ExecutionRecordDetails executionRecordDetails);

    /**
     * 修改details
     * 
     * @param executionRecordDetails details
     * @return 结果
     */
    public int updateExecutionRecordDetails(ExecutionRecordDetails executionRecordDetails);

    /**
     * 删除details
     * 
     * @param id details主键
     * @return 结果
     */
    public int deleteExecutionRecordDetailsById(Long id);

    /**
     * 批量删除details
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExecutionRecordDetailsByIds(String[] ids);

    public void truncateTable(String loginName);
}
